package com.cloudshadow.platform.server.common.uc.protocol.req;


import com.cloudshadow.platform.server.common.base.req.BaseReq;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;

/**
 * Created by apple on 17/3/4.
 */
public class UserLoginReq extends BaseReq {
    @Column(name = "login_account")
    @Length(max = 32, message = "登录账号长度不能超过32位")
    @ApiModelProperty(value = "登录账号")
    @NotNull
    private String login_account;

    @Column(name = "password")
    @NotNull
    private String password;

    public String getLogin_account() {
        return login_account;
    }

    public void setLogin_account(String login_account) {
        this.login_account = login_account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
